package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSeckillGoods;

import java.util.List;

public interface SeckillService {
    void catchPrHot();

    List<TbSeckillGoods> findSeckillList();

    TbSeckillGoods findSeckillById(Long id);

    void createOrder(Long id, String username) throws Exception;

    Long getOrderIdByUserName(String username);
}
